package com.itheima.dao;

import com.itheima.pojo.Member;

import java.util.Map;

public interface MemberDao {
	Member findByTelephone(Member member);

	void add(Member member);

	Member findByTelephone(String telephone);

	void edit (Member member);

	long findCountBeforeByDate(String lastDay);

	/**
	 * 今日新增会员数人数
	 * @param today
	 * @return
	 */
	long findCountByDate (String today);

	long findTotalCount ();

	long findCountByAfterDate (String thisWeekMonday);
}
